package com.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gulimall.common.utils.PageUtils;
import com.gulimall.product.entity.AttrAttrgroupRelationEntity;
import com.gulimall.product.vo.AttrRelationVo;
import com.gulimall.product.vo.SkuItemVO;

import java.util.List;
import java.util.Map;

/**
 * 属性&属性分组关联
 *
 * @author kkk
 * @email 2017809755@qq.com
 * @date 2022-05-17 21:49:10
 */
public interface AttrAttrgroupRelationService extends IService<AttrAttrgroupRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveBatchRelation(List<AttrRelationVo> relationVos);

    List<SkuItemVO.SpuItemAttrGroupVo> getSpuAttrs(Long spuId);
}

